<?php
/*
   店铺信息管理
*/
class ShopProfileController extends AdminController {
	public  $modelName = 'Shop';
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
    /*
        actionEdit   店铺信息编辑
    */
	public function outerActions() {
		return array_merge(parent::outerActions(), array(
			'admin' => 'actions.shop.shopProfile.admin',
			'edit' => 'actions.shop.shopProfile.edit',
			'view' => 'actions.shop.shopProfile.view'
		));
	}
}
?>